]> dgit.raspbian.org Git - gnome-shell.git/commit
aggregateMenu: Don't use system menu for width computation
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 9 Feb 2019 06:52:28 +0000 (07:52 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sun, 10 Feb 2019 02:18:40 +0000 (02:18 +0000)
commit1b169655ac395ed796571677cc417185403d2af0
treeb6c17203a190e7b7045931c9fd01271cd35edf18
parent67393e09c30d6f1281cf343645a85cb2844c52b7
aggregateMenu: Don't use system menu for width computation

If the user's real name is too long to fit the menu comfortably, we are
supposed to use the username instead. However since commit f8e5e3e435f,
we no longer set a max-width on the menu as a whole, but instead base
the width request on only "unellipsizable" children. For some reason
the system menu ended up there, so the name is now allowed to grow
indefinitely.

Remove it from the list of size children to get the intended behavior
back.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/400
js/ui/panel.js